﻿<?php

class Application_Form_YesNoForm extends Zend_Form
{
    
  public function init()
  {
  
  $id = new Zend_Form_Element_Hidden('id');
  
  	$yes = new Zend_Form_Element_Submit('yes');
	$yes->setLabel('Oui');
	$yes->setAttrib('class','button')
		  ->setDecorators(array('ViewHelper'));
	$this->addElement($yes);
	
	$no = new Zend_Form_Element_Submit('no');
	$no->setLabel('Non');
	$no->setAttrib('class','button')
		  ->setDecorators(array('ViewHelper'));
	$this->addElement($no);

  
  
  }
  
 }